<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app"></div>
    <script src="../vuejs/vue.js"></script>
    <template id="my-app">
        <ul>
            <!-- <div v-for="(value,key) in info">
                <li>{{key}}</li>
                <li>{{value}}</li>
                <hr>
            </div> -->
            <template v-for="(value,key) in info">
                <li>{{key}}</li>
                <li>{{value}}</li>
                <li class="divider"></li>
            </template>
            
        </ul>
    </template>
    <script>
        Vue.createApp({
            template:`#my-app`,
            data(){
                return{
                   info:{
                    name:'why',
                    age:18,
                    height:1.88
                   }
                }
            }

        }).mount('#app')
    </script>
</body>
</html>